﻿using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
using CoreCms.Net.Configuration;
using CoreCms.Net.IRepository;
using CoreCms.Net.IRepository.UnitOfWork;
using CoreCms.Net.IServices;
using CoreCms.Net.Model.Entities;
using CoreCms.Net.Model.ViewModels.Basics;
using CoreCms.Net.Model.ViewModels.DTO;
using CoreCms.Net.Model.ViewModels.UI;
using SqlSugar;

namespace CoreCms.Net.Services
{
    /// <summary>
    ///     分佣表 接口实现
    /// </summary>
    public class XrcCommissinServices : BaseServices<XrcCommission>, IXrcCommissinService
    {
        private readonly IXrcCommissinRepository _dal;
        private readonly IUnitOfWork _unitOfWork;

        public XrcCommissinServices(IUnitOfWork unitOfWork, IXrcCommissinRepository dal)
        {
            _dal = dal;
            BaseDal = dal;
            _unitOfWork = unitOfWork;
        }
     
    }
}